package priv.yiyuan.example.design.visitor.strategy.text;

import priv.yiyuan.example.design.visitor.TextData;

/**
 * HTML文本导出策略
 *
 * @author YiYuan
 * @data 2025/8/4
 * @apoNote
 */
public class HtmlTextExportStrategy implements TextExportStrategy {

    @Override
    public void export(TextData textData) {
        System.out.println("Exporting TextData to HTML: <html><body>" + textData.getContent() + "</body></html>");
    }
}
